package com.gusto.test.recommend.mock;

import java.util.ArrayList;
import java.util.List;

import com.gusto.engine.colfil.Distance;
import com.gusto.engine.recommend.delagate.SemNeighborhoodDelegate;

public class SemNeighborhoodDelegateMockImpl implements SemNeighborhoodDelegate {
	
	private List<Distance> userDistances = new ArrayList<Distance>();
	private List<Distance> itemDistances = new ArrayList<Distance>();
	
	public List<Distance> getUserDistances() {
		return userDistances;
	}

	public void setUserDistances(List<Distance> userDistances) {
		this.userDistances = userDistances;
	}

	public List<Distance> getItemDistances() {
		return itemDistances;
	}

	public void setItemDistances(List<Distance> itemDistances) {
		this.itemDistances = itemDistances;
	}
	
	public List<Distance> getNearItems(long itemId, Integer MAX_NEIGHBORS, Double MIN_SIMILARITY) {
		List<Distance> result = itemDistances;
		return result;
	}
	
	public List<Distance> getNearUsers(long userId, Integer MAX_NEIGHBORS, Double MIN_SIMILARITY) {
		List<Distance> result = userDistances;
		return result;
	}

}
